﻿
CREATE PROCEDURE [dbo].[OPM_ReturnType_IsExist]
(
	@Name  nvarchar(50)
)

AS

DECLARE @TempId int

SELECT @TempId=[Id] FROM dbo.[OPM_ReturnType] WHERE [Name]=@Name

IF @TempId IS NULL
	RETURN 0
ELSE
	RETURN 1